Pod::Spec.new do |s|

  s.name         = "XHToolKit"
  s.version      = "1.0.0"
  s.summary      = "XHToolKit"

  s.description  = <<-DESC
  工具类库
                   DESC

  s.homepage     = "http://github.com/liesauer"
  s.license      = { :type => "MIT", :file => "LICENSE" }

  s.author             = { "LiesAuer" => "liesauer@liesauer.net" }

  s.platform     = :ios, "9.0"
  s.ios.deployment_target = "9.0"

  s.source       = { :git => "git@gitee.com:liesauer/XHToolKit.git", :tag => s.version }

  s.source_files  = "XHToolKit/**/*.{h,m}"

  s.frameworks = "Foundation"

  # s.libraries = "iconv", "xml2"

  s.requires_arc = true

  s.subspec 'StringUtil' do |su|
    su.source_files  = "XHToolKit/StringUtil/*.{h,m}"
  end

  s.subspec 'XHPopView' do |pv|
    pv.source_files     = "XHToolKit/XHPopView/*.{h,m}"
    pv.frameworks       = "Foundation", "UIKit"
    pv.resource_bundles = {
      'XHPopView' => ['XHToolKit/XHPopView/*.png']
    }
  end

end
